Enumeration of Success Patterns in Logic Programs
نویسندگان
چکیده
Since the proposal of logic programming by Horn clauses [5] and Prolog [7] has been gaining popularity because of the unified treatment of declarative semantics and procedural semantics. It has been successfully applied to natural language processing [3], data base queary [4] and others. Pattern directed invocation and built-in back+racking mechanism of Prolog are suited for symbolic manipulation. A Prolog Irdgram consists of logical formulas called Horn clauses. There are two types of Horn clauses -definite clause and goal clause. The definite clause has the form Ao+A, . . . A, (ma0) where A,&. . . &A,,, implies Ao. A0 is the head and the literal sequence A, . . . A, ic, the body. Erich Ai is a goal. m = 0 is the unit clause, which asserts that A, is true. When m >O, the clause works as a procedure to compute the relation A, by the goals Al . . . A,,. A Prolog program, --hich consists of definite clauses, can be seen as an axiom. For example,
منابع مشابه
Incremental Computation of Success Patterns of Logic Programs
ions, that the set of success patterns of a logic program P with respect to an abstraction α is tantamount to the success set of the equational logic program where Eα is an equality theory induced by α. Therefore, either the fixpoint semantics or the procedural semantics defined for equational logic programs can be used to compute success patterns of logic programs. From this observation, the s...
متن کاملIncremental Refinement of Success Patterns of Logic Programs
We propose a method for incrementally computing success patterns of logic programs with respect to a class of abstractions. The method is specialised for computing success patterns for depth and stump abstractions. Equational unification algorithms for these abstractions are presented.
متن کاملAnalyzing Logic Programs Using \ Prop " -
This paper illustrates the role of a class of \prop"-ositional logic programs in the analysis of complex properties of logic programs. Analyses are performed by abstracting Prolog programs to corresponding \prop"-ositional logic programs which approximate the original programs and have nite meanings. We focus on a groundness analysis which is equivalent to that obtained by abstract interpretati...
متن کاملThe Effectiveness of the Automatic System of Fuzzy Logic-Based Technical Patterns Recognition: Evidence from Tehran Stock Exchange
The present research proposes an automatic system based on moving average (MA) and fuzzy logic to recognize technical analysis patterns including head and shoulder patterns, triangle patterns and broadening patterns in the Tehran Stock Exchange. The automatic system was used on 38 indicators of Tehran Stock Exchange within the period 2014-2017 in order to evaluate the effectiveness of technical...
متن کاملAnalysing Logic Programs Using 'Prop'-ositional Logic Programs and a Magic Wand
This paper illustrates the role of a class of \prop"-ositional logic programs in the analysis of complex properties of logic programs. Analyses are performed by abstracting Prolog programs to corresponding \prop"-ositional logic programs which approximate the original programs and have nite meanings. We focus on a groundness analysis which is equivalent to that obtained by abstract interpretati...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 34 شماره
صفحات -
تاریخ انتشار 1983